package com.jkc.xh.views.dialog;

import android.app.Dialog;
import android.content.Context;
import android.os.Bundle;
import android.support.annotation.NonNull;

import com.jkc.xh.R;

/**
 * Created by whp on 2019/5/16.
 */

public class ConfirmDialog extends Dialog {

    public ConfirmDialog(@NonNull Context context) {
        super(context);
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.dialog_buy_confirm);
        //按空白处不能取消动画
        setCanceledOnTouchOutside(false);

    }

}
